package com.ruoyi.labour.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.labour.domain.vo.PageVo;
import com.ruoyi.labour.domain.vo.UpdateCustomerPhoneVo;

/**
 * @ClassName: CustomerPhoneService
 * @Description:
 * @Author: Awen
 * @Date: 2023/5/15 11:26
 */
public interface CustomerPhoneService {

    /**
     * 添加热线电话
     * @param phone
     * @return
     */
    R addCustomerPhone(String phone);

    /**
     * 查询热线电话
     * @param pageVo
     * @return
     */
    R selectCustomerPhone(PageVo pageVo);

    /**
     * 删除热线电话
     * @param id
     * @return
     */
    R deleteCustomerPhone(Integer id);

    /**
     * 修改热线电话可用状态
     * @param state
     * @param id
     * @return
     */
    R updateCustomerPhoneState(Integer state,Integer id);

    /**
     * 修改热线电话
     * @param updateCustomerPhoneVo
     * @return
     */
    R updateCustomerPhone(UpdateCustomerPhoneVo updateCustomerPhoneVo);
}
